package com.design_pattern._02_structure._01_detector;

/**
 * 定义对象接口，具有具体职责
 */
public interface INoodles {
    public void cook();
}

class Noodles implements INoodles {

    @Override
    public void cook() {
        System.out.println("的面条");
    }
}